The ARGOEDI006 setting specifies the header length, the regular expression to match and find the transactions in the body, and the footer length in a flat file separated by a comma. If the input file does not have a header or a footer, provide only the regular expression to match and find the transactions in body. The segments between the first and second match of the regular expression is treated as one transaction.
For example, if the ARGOEDI006 setting contains the value ' 2, [a-zA-Z][0-9],2', N4 considers 2 as the header length, [a-zA-Z][0-9] as the regular expression to find transactions in the body, and 2 as the footer length. If the ARGOEDI006 setting contains the value [a-zA-Z][0-9] with neither the header length or the footer length, N4 considers [a-zA-Z][0-9] as the regular expression to find the transactions in the body.
You also need to override the ARGOEDI004 (EDI_INBOUND_TRANSACTION_SIZE) (on page 1) setting to provide the number of transactions for each commit instance of a flat file.
Because comma is the delimiter for the header, body, and footer, do not use comma in the regular expression. To post the correct segments, ensure that you provide the accurate expression to split the segments.